package cn.broadsense.thrid.param;

import cn.broadsense.thrid.result.EvChannelTaskResult;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 通道任务
 *
 * @author pengxin
 * @date 2022-10-10 15:06
 */
@NoArgsConstructor
@Data
public class EvChannelTaskParam extends BaseParam{
    private static final long serialVersionUID = -2175292931239513371L;

    private List<ChannelTasksParam> channelTasks;


    @Override
    public void checkParam() {

    }

    @Override
    public Class getResultClass() {
        return EvChannelTaskResult.class;
    }


    @NoArgsConstructor
    @Data
    public static class ChannelTasksParam {
        /**
         * 任务I
         */
        private String planTaskId;
        /**
         * 通道编码
         */
        private String channelCode;
        /**
         * 通道名称
         */
        private String channelName;
        /**
         * 算法id
         */
        private String algorithmId;
        /**
         * 国标通道编码
         */
        private String gbCode;
        /**
         * 规则信息
         */
        private String config;
    }
}
